<html>
<head>
   <meta charset="utf-8"/>
   <title>JavaScript基本语法</title>
</head>
<body>


    <script type="text/javascript">

       alert('欢迎来到JavaScript世界！！');

   </script>

   
   <script type="text/javascript">

      document.write('您好!这是西部世界，欢迎您的到来');

   </script>

   <script type="text/javascript" src="demo.js"></script>

</body>
</html>


























